class Buff(object):
    
    def __init__(self, origin, host, reactions):
        self._origin = origin
        self._host = host
        self._reactions = reactions
        self._specialdat = {}
    
    def react(self, trigger, vals):
        if trigger in self._reactions.keys():
            return self._reactions[trigger](vals)
        return vals
